package com.example.cstr.service;

import com.example.cstr.entity.Message;
import com.example.cstr.entity.StudyContain;
import org.springframework.web.bind.annotation.RequestParam;

import java.io.IOException;
import java.util.List;

public interface StudyContainService {


    int deleteByPrimaryKey(Integer scId);

    int insert(StudyContain record);

    int insertSelective(StudyContain record);

    StudyContain selectByPrimaryKey(Integer scId);

    int updateByPrimaryKeySelective(StudyContain record);

    int updateByPrimaryKey(StudyContain record);

    List<StudyContain> selectAllStudyContain();

    Message PagingSearch(@RequestParam Integer pageNum, @RequestParam Integer size);

    List<StudyContain> selectBySc_work_idAndSc_etp_id(Integer sc_work_id, Integer sc_etp_id);

    Message pagingSearch_BySc_work_idAndSc_etp_id(@RequestParam Integer pageNum, @RequestParam Integer size, Integer sc_work_id, Integer sc_etp_id);

    Message getWord(Integer workId) throws IOException;

    List<StudyContain> selectBySc_etc_idAndSc_etp_id(Integer sc_etc_id, Integer sc_etp_id);
}














